package com.ruoyi.qualityControl.domain.vo;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum QcInfoIndexExamineIntegrityEnum
{
    collectDate("collectDate", "统计日期"),
    contractArea("contractArea", "网点名称"),
    networkName("networkName", "所属网点名称"),
    orderAmount("orderAmount", "订单总量"),
    receiveMissAmount("receiveMissAmount", "揽收缺失量"),
    receiveMissRate("receiveMissRate", "揽收缺失率"),
    signTotalAmount("signTotalAmount", "签收总量"),
    deliveryMissAmount("deliveryMissAmount", "派件缺失量"),
    deliveryMissRate("deliveryMissRate", "派件缺失率"),
    arrMissingCount("arrMissingCount", "到件缺失量"),
    arrMissingPerStr("arrMissingPerStr", "到件缺失率");

    private final String code;
    private final String info;

    QcInfoIndexExamineIntegrityEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (QcInfoIndexExamineIntegrityEnum value : QcInfoIndexExamineIntegrityEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }
}
